Skip to main content

DescribePropertyPortDetail

Description

call the DescribePropertyPortDetail interface to query the details of a port in the port list.

Request Method

POST

Request Path

/apsara/route/Sas/DescribePropertyPortDetail

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
UuidBODYstringNo50d213b4-3a35-427a-b8a5-***unique identification ID of the asset instance.
PageSizeBODYintegerNo6The maximum number of pieces of data per page displayed during a paged query.
CurrentPageBODYintegerNo1the page number of the current page displayed when paging query.
regionIdBODYstringYesNo sample value for this parameter.region id
PortBODYstringNo22port information.
ProcNameBODYstringNosshdprocess name.
versionBODYstringNo2016-01-01version of api
RemarkBODYstringNo1.2.3.4server name or IP.

Return data

NameTypeSample valueDescription
PropertysarrayNo sample value for this parameter.port information.
RequestIdstringFAA793EF-5B14-4CDD-B3E0-B14D4342C422request ID of the result.
PageSizeinteger5The maximum number of pieces of data per page displayed during a paged query.
InstanceIdstring50d213b4-3a35-427a-b8a5-04b0c7e1f4d2ID of the asset associated with the port.
Portstring22port value.
Ipstring1.2.3.1assets correspond to public IP addresses.
ProcNamestringsshdthe name of the process corresponding to the port.
Countinteger5the number of data on the current page displayed during paging query.
IntranetIpstring1.2.3.2the asset corresponds to the private IP address.
InstanceNamestringtest-***name of the asset associated with the port.
PageInfostructNo sample value for this parameter.page displays information.
TotalCountinteger762the total number of data.
Uuidstring50d213b4-3a35-427a-b8a5-04b0c7e1f4d2unique identification ID of the asset instance associated with the port.
Protostringtcpport corresponds to network protocol.
InternetIpstring1.2.3.1assets correspond to public IP addresses.
CurrentPageinteger1the page number of the current page displayed when paging query.
Createstring2019-05-13T10:39Zthe latest data collection time.
CreateTimestamplong1557715141000the latest data collection timestamp.
BindIpstring1.2.3.4IP address information for port binding.

Example

Successful Response example

{
"Propertys":"",
"RequestId":"FAA793EF-5B14-4CDD-B3E0-B14D4342C422",
"PageSize":"5",
"InstanceId":"50d213b4-3a35-427a-b8a5-04b0c7e1f4d2",
"Port":"22",
"Ip":"1.2.3.1",
"ProcName":"sshd",
"Count":"5",
"IntranetIp":"1.2.3.2",
"InstanceName":"test-***",
"PageInfo":"",
"TotalCount":"762",
"Uuid":"50d213b4-3a35-427a-b8a5-04b0c7e1f4d2",
"Proto":"tcp",
"InternetIp":"1.2.3.1",
"CurrentPage":"1",
"Create":"2019-05-13T10:39Z",
"CreateTimestamp":"1557715141000",
"BindIp":"1.2.3.4"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: DescribePropertyPortItem

DescribePropertyPortItem

Description

call DescribePropertyPortItem interface to obtain all port information.

Request Method

POST

Request Path

/apsara/route/aegis/DescribePropertyPortItem

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
PageSizeBODYintegerNo5The maximum number of pieces of data per page displayed during a paged query.
CurrentPageBODYintegerNo1the page number of the current page displayed when paging query.
regionIdBODYstringYesNo sample value for this parameter.region id
PortBODYstringNo22port number.
versionBODYstringNo2016-01-01version of api
ForceFlushBODYbooleanNotruewhether to force refresh the data to be queried.

Return data

NameTypeSample valueDescription
PageInfostructNo sample value for this parameter.page displays information.
TotalCountinteger163the total number of data.
RequestIdstring7E0618A9-D5EF-4220-9471-C42B5E92719Frequest ID of the result.
Protostringtcpthe network protocol corresponding to the port.
PageSizeinteger5The maximum number of pieces of data per page displayed during a paged query.
CurrentPageinteger1the page number of the current page displayed when paging query.
Portstring22listening port number.
Countinteger5the number of data on the current page displayed during paging query.
PropertyItemsarrayNo sample value for this parameter.port information.

Example

Successful Response example

{
"PageInfo":"",
"TotalCount":"163",
"RequestId":"7E0618A9-D5EF-4220-9471-C42B5E92719F",
"Proto":"tcp",
"PageSize":"5",
"CurrentPage":"1",
"Port":"22",
"Count":"5",
"PropertyItems":""
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: DescribePropertyProcDetail

DescribePropertyProcDetail

Description

call the DescribePropertyProcDetail interface to get the details of a process in the process list.

Request Method

POST

Request Path

/apsara/route/aegis/DescribePropertyProcDetail

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
UserBODYstringNorootthe running user information of the process.
UuidBODYstringNoc4678332-ef35-4ad4-***unique identification ID of the process-associated asset instance.
PageSizeBODYintegerNo5The maximum number of pieces of data per page displayed during a paged query.
CurrentPageBODYintegerNo1the page number of the current page displayed when paging query.
regionIdBODYstringYesNo sample value for this parameter.region id
CmdlineBODYstringNo./8888process startup parameters.
versionBODYstringNo2016-01-01version of api
NameBODYstringNo8888process name.
RemarkBODYstringNo1.2.3.4server name or IP.

Return data

NameTypeSample valueDescription
Pathstring/root/Oracle/Middleware/***/8888path where the process is located.
PropertysarrayNo sample value for this parameter.process information.
Pnamestringstart***.sthe name of the parent process to which the process belongs.
Userstringrootthe running user of the process.
PageSizeinteger5The maximum number of pieces of data per page displayed during a paged query.
RequestIdstring64388374-A309-4191-8606-3346CCA364B0request ID of the result.
InstanceIdstringc4678332-ef35-4ad4-8358-***the asset ID associated with the process.
StartTimestring2019-08-07 10:09:05process startup time.
Pidstring12826identity of running process
Countinteger1the number of data on the current page displayed during paging query.
EuidNamestringrootthe running permission corresponding to the process.
IntranetIpstring1.2.3.2the asset corresponds to the private IP address.
Namestring8888process name.
InstanceNamestringtest-***the name of the asset associated with the process.
PageInfoNo sample value for this parameter.page displays information.
TotalCountinteger1the total number of data.
Uuidstringc4678332-ef35-4ad4-8358-6***unique identification ID of the process-associated asset instance.
InternetIpstring1.2.3.1assets correspond to public IP addresses.
CurrentPageinteger1the page number of the current page displayed when paging query.
Createstring2019-05-15T11:08Zthe latest data collection time.
Cmdlinestring./8888The process corresponds to the startup parameter.
CreateTimestamplong1565686951000the latest data collection timestamp.
Md5stringN/Afile MD5 information corresponding to the process.

Example

Successful Response example

{
"Path":"/root/Oracle/Middleware/***/8888",
"Propertys":"",
"Pname":"start***.s",
"User":"root",
"PageSize":"5",
"RequestId":"64388374-A309-4191-8606-3346CCA364B0",
"InstanceId":"c4678332-ef35-4ad4-8358-***",
"StartTime":"2019-08-07 10:09:05",
"Pid":"12826",
"Count":"1",
"EuidName":"root",
"IntranetIp":"1.2.3.2",
"Name":"8888",
"InstanceName":"test-***",
"PageInfo":"",
"TotalCount":"1",
"Uuid":"c4678332-ef35-4ad4-8358-6***",
"InternetIp":"1.2.3.1",
"CurrentPage":"1",
"Create":"2019-05-15T11:08Z",
"Cmdline":"./8888",
"CreateTimestamp":"1565686951000",
"Md5":"N/A"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}